﻿using System.Collections.Generic;
using EmbeddedSharp.Scripting.Function;

namespace EmbeddedSharp.Scripting {
    public class StackFrame : Dictionary<string, object> {
        public StackFrame()
            : base() {
        }

        public StackFrame(UserDefinedFunctionNode udf) {
            this.UserDefinedFunction = udf;
        }

        public UserDefinedFunctionNode UserDefinedFunction {
            get;
            set;
        }
    }
}
